#include <iostream>
using namespace std;
int main()
{
    int a;
    cin>>a;
    char c;
    cin>>c;
    int b;
    cin>>b;

    if(c=='+')
    {
        cout<<a+b;
    }
    else if (c=='-')
    {
        cout<<a-b;
    }
        else if (c=='*')
    {
        cout<<a*b;
    }
        else if (c=='/')
    {
        if(c==0)
        {
            cout<<"error";
        }else
        {
             cout<<a/b;
        }
    }
    return 1;

}
